home *** CD-ROM | disk | FTP | other *** search
- Path: yama.mcc.ac.uk!dmu!usenet
- From: Timothy Eves <se1te@dmu.ac.uk>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Amiga Memory Map Needed! / ExecBase
- Date: Mon, 12 Feb 1996 20:28:06 +0000
- Organization: De Montfort University, Central Newsserver Leicester UK
- Message-ID: <311FA2D6.7A85@dmu.ac.uk>
- References: <311e89a8@lls.se>
- NNTP-Posting-Host: merlin.cms.dmu.ac.uk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/720)
-
- I don't know if this will help, but:
-
- The Amiga has what is called a Soft Architecture which means that it has
- no absolute memory map. The ONLY absoulute address that any one can be
- sure of with the OS memory map is memory address $00000004 *points* to
- ExecBase. All other OS structures and resources have pointers to them
- stored in the ExecBase struct. Now on machines equiped with fast ram I
- belive the OS moves the ExecBase structure into fast ram.
-
- :must say I'd prefer a fixed register (mostly because the address 4 on
- the
- :Amiga isn't in the fastest address range).
-
- That doesn't matter. As long as you copy the pointer to exec base to a
- pointer in fast mem then you will get the fastest indrect jsr's you can.
-
- :Side note: I'e written a library (that makes rather heavy use of system
- :resources), that _never_ references address 4. There is no need to do
- it.
-
- Never? It must reference it at least once to copy the value stored
- there, if you're calling OS routines.
-
- :For (most) programs, one access should be enough.
- True
-
- Tim Eves
-
- ------------------------------------------------------------O----------------
- Out of the gloom came a voice, "Smile and be happy things| EMail To:
- could be worse", it said. So I smiled and I was happy,|
- se1te@dmu.ac.uk
- and behold things did get worse. |
- ------------------------------------------------------------O----------------
-